﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;


namespace NewDDSys.BLL
{
    public class DxcBLL:IDxcBLL
    {
        public int Add(DxcInfo dx)
        {
            return DALFactory.CreateDxcDAL().Add(dx);
        }

        public int Update(string num, int cs, decimal dun)
        {
            return DALFactory.CreateDxcDAL().Update(num, cs, dun);
        }
        public int UpdateCL(string num, string clqk, string clday, string cbanzu)
        {
            return DALFactory.CreateDxcDAL().UpdateCL(num, clqk, clday, cbanzu);
        }
        public int Del(string num)
        {
            return DALFactory.CreateDxcDAL().Del(num);
        }
        public string DXCS(string ku)
        {
            return DALFactory.CreateDxcDAL().DXCS(ku);
        }
        public string JBDX(string ku)
        {
            return DALFactory.CreateDxcDAL().JBDX(ku);
        }
        public DataSet Select(string bt, string et, string ku)
        {
            return DALFactory.CreateDxcDAL().Select(bt, et, ku);
        }
        public DataSet SelectKu(string ku)
        {
            return DALFactory.CreateDxcDAL().SelectKu(ku);
        }
        public string WCL(string ku, string neirong)
        {
            return DALFactory.CreateDxcDAL().WCL(ku, neirong);
        }
        public string YCL(string ku, string neirong)
        {
            return DALFactory.CreateDxcDAL().YCL(ku, neirong);
        }
        public DataSet SelectNum(string num)
        {
            return DALFactory.CreateDxcDAL().SelectNum(num);
        }
        public DataSet BanWCL(string bt, string et, string ku, string neirong, string jbanzu)
        {
            return DALFactory.CreateDxcDAL().BanWCL(bt, et, ku, neirong, jbanzu);
        }
        public DataSet BanYCL(string bt, string et, string ku, string neirong, string cbanzu)
        {
            return DALFactory.CreateDxcDAL().BanYCL(bt, et, ku, neirong, cbanzu);
        }
        public int UpdateXG(string num, string xg)
        {
            return DALFactory.CreateDxcDAL().UpdateXG(num, xg);
        }
        public DataSet NRWCL(string t, string ku, string neirong)
        {
            return DALFactory.CreateDxcDAL().NRWCL(t, ku, neirong);
        }
        public DataSet NRYCL(string t, string ku, string neirong)
        {
            return DALFactory.CreateDxcDAL().NRYCL(t, ku, neirong);
        }
        public DataSet YNRYCL(string t, string neirong)
        {
            return DALFactory.CreateDxcDAL().YNRYCL(t, neirong);
        }
        public DataSet JDYCL(string t, string neirong)
        {
            return DALFactory.CreateDxcDAL().JDYCL(t, neirong);
        }
        public DataSet JDWCL(string t, string neirong)
        {
            return DALFactory.CreateDxcDAL().JDWCL(t, neirong);
        }
        public string JDY(string bt, string et, string neirong)
        {
            return DALFactory.CreateDxcDAL().JDY(bt, et, neirong);
        }
        public string JDW(string bt, string et, string neirong)
        {
            return DALFactory.CreateDxcDAL().JDW(bt, et, neirong);
        }
    }
}
